/*
package headListDesignPatterns.duckDemo;

import headListDesignPatterns.duckDemo.behavior.behaviorImpl.FlyRocketPowered;

public class Main {
    public static void main(String[] args) {
        Duck mallardDuck = new MallardDuck();
        if(TestFlag.flag){
            System.out.println(111);
        }

        mallardDuck.performQuack();
        if(TestFlag.flag){
            System.out.println(222);
        }
        mallardDuck.performFly();

        System.out.println("-----------");
        ModelDuck modelDuck = new ModelDuck();
        modelDuck.performFly();
        modelDuck.setFlyBehavior(new FlyRocketPowered());
        modelDuck.performFly();
    }
}
*/
